public class Student{
    private String name;
    private String ID;
    private String grade;
    private String gender;
    private String age;
    private String character;
    public Student(String name,String ID,String grade,String gender,String age,String character){
        this.name=name;
        this.ID=ID;
        this.grade=grade;
        this.gender=gender;
        this.age=age;
        this.character=character;
    }
    public String getName(){
        return name;
    }
    public String getID(){
        return ID;
    }
    public String getGrade(){
        return grade;
    }
    public String getGender(){
        return gender;
    }
    public String getAge(){
        return age;
    }
    public String getCharacter(){
        return character;
    }
    public String getinfo(){
        return "name:"+name+" ID:"+ID+" grade:"+grade+" gender:"+gender+" age:"+age+" character:"+character;
    }
}
class TestStudent {
    public static void main(String[] args) {
        Student stu1 = new Student("人机1号", "0001", "1班", "男", "18", "人机");
        Student stu2 = new Student("人机2号", "0002", "2班", "女", "17", "活泼");
        Student stu3 = new Student("人机3号", "0003", "3班", "男", "19", "安静");
        System.out.println(stu1.getinfo());
        System.out.println(stu2.getinfo());
        System.out.println(stu3.getinfo());
    }
}
